function showImage(main, imageToShow, stageType)

if stageType == 0
    if imageToShow == 7
        imshow(main.imageInversor,'Parent',main.handles.axesImage);
    elseif imageToShow == 8
        imshow(main.imageNoInversor,'Parent',main.handles.axesImage);
    end
    
else

switch imageToShow
    case 1  %Sallen Key
        if stageType == 2
            imshow(main.imageSallenKeyLP,'Parent',main.handles.axesImage);
        elseif stageType == 3
            imshow(main.imageSallenKeyHP,'Parent',main.handles.axesImage);
        end
        
    case 2  %Sedra
        
        if stageType == 2
            imshow(main.imageSedraLP,'Parent',main.handles.axesImage);
        elseif stageType == 3
            imshow(main.imageSedraHP,'Parent',main.handles.axesImage);
        end
        
    case 3  %Universal
        
        imshow(main.imageUniversal,'Parent',main.handles.axesImage);
        
    case 4  %Rauch

        if stageType == 4
            imshow(main.imageRauchBR,'Parent',main.handles.axesImage);
        elseif stageType == 1
            imshow(main.imageRauchBP,'Parent',main.handles.axesImage);
        end
        
    case 5  %Integrador
        
        imshow(main.imageInt,'Parent',main.handles.axesImage);
        
    case 6  %Derivador
        
        imshow(main.imageDer,'Parent',main.handles.axesImage);
        
end
end
end
